
/**
 * Write a description of class GrupoDeClausulas here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */

import java.util.TreeMap;

public class GrupoDeClausulas
{

    //variáveis de instância
    private TreeMap<String,Clausula> grupoClaus;

    //construtores
    public GrupoDeClausulas() {new TreeMap<String,Clausula>();}
    public GrupoDeClausulas(TreeMap<String,Clausula> gClau) {
        TreeMap<String,Clausula> aux = new TreeMap<String,Clausula>();
        for(Clausula cl : gClau.values()) {grupoClaus.put(cl.getTipo(),cl.clone());}
    }
    
    //métodos de instãncia

    public TreeMap<String,Clausula> getClausulas() {

        TreeMap<String,Clausula> aux = new TreeMap<String,Clausula>();
        for (Clausula c: grupoClaus.values() ){
            aux.values().add(c.clone());
        }
        return aux; }

    public void setClausulas(TreeMap<String,Clausula> claus){


        }

    public Clausula pesquisarClausula() {}

    

}
